Part Number Hot Search : 
4ALVC1 69P20 GL1F20 P2003 1C330 C0601A 98120 SG3845N
Product Description
Full Text Search
 

To Download DS1921Z-F5 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 45 special features ? digital thermometer measures temperature in 1/8c increments with 1c accuracy ? built - in real - t ime clock (rtc) and timer has accu racy of 2 minutes per month from 0c to + 45c ? water resistant or waterproof if placed inside ds9107 i button capsule (exceeds water resistant 3 atm requirements) ? automatically wakes up and measures temperature at user - pro grammable intervals from 1 to 255 minutes ? logs up to 2048 consecutive temperature measurements in protected nonvolatile (nv) random access memory ? records a long - term temperature histogram with 1/2c resolution ? programmable temperature - high and temperature - low alarm trip points ? records up to 24 time stamps and durations when temperature leaves the range specified by the trip points ? 512 bytes of general - purpose read/write nv random access memory ? communicates to host with a single digital signal at 15.4kbits o r 125kbits per second using 1 - wire ? protocol ? fixed range: h: +15 c to +46c; z: - 5 c to +26c common i button features ? digital identification and information by momentary contact ? unique, factory - lasered and tested 64 - bit reg istration number (8 - bit family code + 48 - bit serial number + 8 - bit crc tester) assures ab solute traceability because no two parts are alike ? multidrop controller for 1 - wire net ? chip - based data carrier compactly stores information ? data can be accessed while affixed to object ? button sha pe is self - aligning with cup - shaped probes ? durable stainless steel case engraved with registration number withstands harsh environments ? easily affixed with self - stick adhesive backing, latched by its flange, or locked with a ring pressed onto its rim ? prese nce detector acknowledges when reader first applies voltage f5 microcan io gnd 0.51 5.89 16.25 17.35 d6 21 3b2000fbc52b 1-wire ? ? ? thermochron ? all dimensions are shown in millimeters. ordering information part temp range pin - package ds1921h - f5# +15 c to +46c f5 i button ds1921 z - f5# - 5 c to +26c f5 i button # denotes a rohs - compliant device that may include lead(pb) that is exempt under the rohs requirements. examples of accessories ds9096p self - stick adhesive pad ds9101 multi - purpose clip ds9093ra mounting lock r ing ds9093a snap - in fob ds9092 i button probe thermochron, i button , and 1 - wire are registered trademarks of maxim integrated products, inc. 19 - 4887; rev 8/09 ds1921h/ds1921z high - resolution thermochron ? i button ? range h: +15 c to +46 c, z: - 5 c to +26 c
ds1921h/z 2 of 44 i button description the ds1921h/z thermochron i buttons are rugged, self - sufficient systems that measure temperature and record the result in a protected memory section. the recording is done at a user - define d rate, both as a direct storage of temperature values as well as in the form of a histogram. up to 2048 temperature values taken at equidistant intervals ranging from 1 to 255 minutes can be stored. the histogram provides 64 data bins with a resolution of 0.5c. if the temperature leaves a user - programmable range, the ds1921h/z will also record when this happened, for how long the temperature stayed outside the permitted range, and if the temperature was too high or too low. additional 512 bytes of read/wr ite nv memory allow storing information pertaining to the object to which the ds1921h/z is associated. data is trans ferred serially via the 1 - wire protocol, which requires only a single data lead and a ground return. every ds1921h/z is factory - lasered wit h a guaranteed unique electrically readable 64 - bit registration number that allows for abso lute traceability. the durable stainless steel package is highly resistant to environmental hazards such as dirt, moisture, and shock. accessories permit the ds1921 h/z to be mounted on almost any object, including containers, pallets, and bags. application the ds1921z is an ideal device to monitor the temperature of any object it is attached to or shipped with, such as fresh produce, medical drugs and supplies. it i s also ideal for use in refrigerators . the ds1921h is intended for monitoring the body temperature of humans and animals and for monitoring temperature critical processes such as curing, powder coating, and painting . alternatively, the ds1921h can be used for monitoring the temperature of c lean rooms, and computer and equipment rooms. it can also aid in calculating the proportional share of heating cost of each party in buildings with central heating. the ds1921h has a fixed range of +15 c to +46c. the ds1 921z has a fixed range of - 5 c to +26c. the high resolution makes the ds1921h and ds1921z suitable for scientific r esearch and development. the read/write nv memory can store information such as shipping manifests, dates of manufacture, or other relevant data written as ascii or encrypted files. note that the initial sealing level of ds1921h/z achieves the equivalent of ip56. aging and use conditions can degrade the integrity of the seal over time, so for applications with significant exposure to liquids, sprays, or other similar environments, it is recommended to place the thermochron in the ds9107 i button capsule. the ds9107 provides a watertight enclosure that has been rated to ip68 ( refer to application note 4126 ). overview the block diagram in figure 1 shows the relationships between the major control and memory sections of the ds1921h/z. the device has seven main data components: 1) 64 - bit lasered rom; 2) 256 - bit scratch pad; 3 ) 4096 - bit general - purpose sram; 4) 256 - bit register page of timekeeping, control, and counter registers; 5) 96 bytes of alarm time stamp and duration logging memory; 6) 128 bytes of histogram mem ory; and 7) 2048 bytes of data - logging memory. except for t he rom and the scratchpad, all other mem ory is arranged in a single linear address space. all memory reserved for logging purposes, counter reg isters and several other registers are read - only for the user. the timekeeping and control registers are write - protected while the device is programmed for a mission. the hierarchical structure of the 1 - wire protocol is shown in figure 2. the bus master must first provide one of the seven rom function commands: 1) read rom; 2) match rom; 3) search rom; 4) condi t ional search rom; 5) skip rom; 6) overdrive - skip rom; or 7) overdrive - match rom. upon comple tion of an overdrive rom command byte executed at standard speed, the device will enter overdrive mode, where all subsequent communication occurs at a higher speed . the protocol required for these rom function commands is described in figure 13. after a rom function command is successfully exe cuted, the memory functions become accessible and the master may provide any one of
ds1921h/z 3 of 45 the seven avail able commands. the proto col for these memory function commands is described in figure 10. all data is read and written least significant bit first. ds1921h/z block diagram figure 1 internal timekeeping & control reg. & counters 3v lithium general-purpose sram register page alarm time stamp and duration logging memory datalog memory histogram memory 32.768khz oscillator control logic temperature sensor 256-bit scratchpad memory function control rom function control 64-bit lasered rom parasite powered circuitry 1-wire port io parasite power the block diagram (figure 1) shows the parasite - power ed circuitry. this circuitry ?steals? power when ever the io input is high. io will provide sufficient power as long as the specified timing and voltage re quirements are met. the advantages of parasite power are two - fold: 1) by parasiting off this input, lithium is conserved, and 2) if the lithium is exhausted for any reason, the rom may still be read normally. 64- bit lasered rom each ds1921 contains a unique rom code that is 64 bits long. the first eight bits are a 1 - wire family code. the next 36 bits ar e a unique serial number. the next 12 bits, called temperature range code, allow dis tinguishing the ds1921h and ds1921z from each other and from other ds1921 versions. the last eight bits are a crc of the first 56 bits. see figure 3 for details. the 1 - wir e crc is generated using a polynomial generator consisting of a shift register and xor gates as shown in figure 4. the polynomial is x 8 + x 5 + x 4 + 1. additional information about the maxim 1- wire cyclic redundancy check is avail able in application note 27 and in the book of i button standards .
ds1921h/z 4 of 45 the shift register bits are initialized to 0. then starting with the least significant bit of the family code, one bit at a time is shifted in. after the eighth bit of the family code has been entered, then the serial number followed by the temperature range code is entered. after the range code has been entered, the shift register contains the crc value. shifting in the eight bits of crc returns the shift register to all 0s. hierarchical structure fo r 1 - wire protocol figure 2 1-wire net other devices bus master command level: 1-wire rom function commands ds1921-specific memory/control function commands ds1921 available commands: read rom match rom search rom skip rom overdrive skip overdrive match conditional search rom write scratchpad read scratchpad copy scratchpad read memory read memory w/crc clear memory convert temperature data field affected: 64-bit reg. # 64-bit reg. # 64-bit reg. # n/a od-flag 64-bit reg. #, od-flag 64-bit reg. #, cond. search settings, device status 256-bit scratchpad, flags 256-bit scratchpad 4096-bit sram, registers, flags all memory all memory mission time stamp, mission samples counter, start delay, sample rate, alarm time stamps and durations, histogram memory memory address 211h cmd . codes: 33h 55h f0h cch 3ch 69h ech 0fh aah 55h f0h a5h 3ch 44h 64- bit lasered rom figure 3 msb lsb 8 - bit crc code 12- bit temperature range code 36- bit serial number 8 - bit family code (21h) msb lsb msb lsb msb lsb msb lsb device temp. range ( c) resoluti on ( c) temp. range code hex. equivalent ds1921h -f5 +15 to +46 0.125 0100 1111 0010 4f2 ds1921z -f5 - 5 to +26 0.125 0011 1011 0010 3b2
ds1921h/z 5 of 45 1 - wire crc generator figure 4 x 0 x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 polynomial = x 8 + x 5 + x 4 + 1 1 st stage 2 nd stage 3 rd stage 4 th stage 6 th stage 5 th stage 7 th stage 8 th stage input data memory the memory map of the ds1921h/z is shown in figure 5. the 4096 - bit general - purpose sram make up pages 0 through 15. the timekeeping, control, and counter registers fill page 16, called register page (see figure 6). pages 17 to 19 are assigned to storing the alarm time stamps and durations. the temperature histogram bins begin at page 64 and use up to four pages. the temperature logging memory covers pages 128 to 191. memory pages 20 to 63, 68 to 127, and 192 to 255 are reserved for future extensions. the scratchpad is an additional page that acts as a buffe r when writing to the sram memory or the register page. the memory pages 17 and higher are read - only for the user. they are written to or erased solely under supervision of the on - chip control logic. ds1921h/z memory map figure 5 32- byte intermediate st orage scratchpad address 0000h to 01ffh general - purpose sram (16 pages) pages 0 to 15 0200h to 021fh 32- byte register page page 16 0220h to 027fh alarm time stamps and durations pages 17 to 19 0280h to 07ffh (reserved for future extensions) pages 20 to 63 0800h to 087fh temperature histogram memory pages 64 to 67 0880h to 0fffh (reserved for future extensions) pages 68 to 127 1000h to 17ffh datalog memory (64 pages) pages 128 to 191 1800h to 1fffh (reserved for future extensions) pages 192 t o 255
ds1921h/z 6 of 45 ds1921h/z register page map figure 6 addr b7 b6 b5 b4 b3 b2 b1 b0 function access* 0200h 0 10 seconds single seconds 0201h 0 10 minutes single minutes real - 0202h 0 12/24 20h. am/pm 10h. single hours time clock r/w; r/w** 0203h 0 0 0 0 0 da y of week registers 0204h 0 0 10 date single date 0205h cent 0 0 10m. single months 0206h 10 years single years 0207h ms 10 seconds alarm single seconds alarm real - 0208h mm 10 minutes alarm single minutes alarm time 0209h mh 12/24 10ha. a/p 10h. alm. single hours alarm clock alarm r/w; r/w** 020ah md 0 0 0 0 day of week alarm registers 020bh temperature low alarm threshold temp. r/w; r/w** 020ch temperature high alarm threshold alarms 020dh number of minutes between temperature conver sions sample rate r/w; r** 020eh eosc emclr 0 em ro tls ths tas control r/w; r/w** 020fh (no function, reads 00h) (n/a) r; r** 0210h (no function, reads 00h) (n/a) r; r** 0211h temperature read out (forced conversion) temp. r; r** 0212h low byte sta rt r/w; r/w** 0213h high byte delay 0214h tcb memclr mip sip 0 tlf thf taf status r/w; r/w 0215h minutes 0216h hours mission 0217h date time r; r 0218h month stamp 0219h year 021ah low byte mission 021bh center byte samples r; r 021ch hi gh byte counter 021dh low byte device 021eh center byte samples r; r 021fh high byte counter *the first entry in column access is valid between missions. the second entry shows the applicable access mode while a mission is in progress. **while a m ission is in progress, these addresses can be read. the first attempt to write to these registers (even read - only ones), however, will end the mission and overwrite selected writeable registers. timekeeping the rtc/alarm and calendar information is acces sed by reading/writing the appropriate bytes in the register page, address 200h to 206h. note that some bits are set to 0. these bits will always read 0 regardless of how they are written. the contents of the time, calendar, and alarm registers are in the binary - coded decimal (bcd) format.
ds1921h/z 7 of 45 rtc and rtc alarm register bitmap addr b7 b6 b5 b4 b3 b2 b1 b0 0200h 0 10 seconds single seconds 0201h 0 10 minutes single minutes 0202h 0 12/24 20h. am/pm 10h. single hours 0203h 0 0 0 0 0 day of week 0204h 0 0 10 date single date 0205h cent 0 0 10m. single months 0206h 10 years single years 0207h ms 10 seconds alarm single seconds alarm 0208h mm 10 minutes alarm single minutes alarm 0209h mh 12/24 10ha. a/p 10h. alm. single hours alarm 020ah md 0 0 0 0 day of week alarm rtc/calendar the rtc of the ds1921h/z can run in either 12 - hour or 24 - hour mode. bit 6 of the hours register (address 202h) is defined as the 12 - or 24 - hour mode select bit. when high, the 12 - hour mode is selected. in the 12 - hour mode, bit 5 is the am/pm bit with logic 1 being pm. in the 24 - hour mode, bit 5 is the 20 - hour bit (20 to 23 hours). to distinguish between the days of the week the ds1921h/z includes a counter with a range from 1 to 7. the assignment of counter value to the day of week is arbitrary. typically, the number 1 is assigned to a sunday (u.s. standard) or to a monday (european standard). the calendar logic is designed to automatically compensate for leap years. for every year value that is either 00 or a multiple of 4 the device will add a 29 th of february. this will work correctly up to (but not including) the year 2100. the ds1921h/z is y2k - compliant. bit 7 (cent) of the months register at address 205h serves as a century flag. when the year register rolls over from 99 to 00 the century flag will toggle. it is recom mended to write the century bit to a 1 when setting the rtc to a time/date between the years 2000 and 2099. rtc alarms the ds1921h/z also contains a rtc alarm function. the alarm registers are located in re gis ters 207h to 20ah. the most significant bit of each of the alarm registers is a mask bit. when all of the mask bits are logic 0, an alarm will occur once per week when the values stored in time keeping registers 200h to 203h match the values stored in the time of day alarm registers. any alarm will set the timer alarm flag (taf) in the device's status register (address 214h). the bus master may set the search conditions in the control register (address 20eh) to identify devices with timer alarms by mean s of the conditional search function (see rom function commands ).
ds1921h/z 8 of 45 rtc alarm control alarm register mask bits (bit 7 of 207h to 20ah) ms mm mh md 1 1 1 1 alarm once per second. 0 1 1 1 alarm when seconds match (once per minute). 0 0 1 1 alarm when m inutes and seconds match (once every hour). 0 0 0 1 alarm when hours, minutes and seconds match (once every day). 0 0 0 0 alarm when day, hours, minutes, and seconds match (once every week). temperature conversi on the ds1921h and ds1921z measure temper atures with a resolution of 1/8 th of a degree celsius. temperature values are represented in a single byte as an unsigned binary number, which translates into a range of 32c . the possible values are 0000 0000 (00h) through 1111 1111 (ffh). the c odes 01h t o feh are considered valid temperature readings. since the ds1921h and ds1921z have different starting temperatures, the meaning of a binary temperature code depends on the device. if a temperature conversion yields a temperature that is out - of - range, it will be recorded as 00h (if too low) or ffh (if too high). since out - of - range results are accumulated in histogram bins 0 and 63 the data in these bins is of limited value (see the temperature logging and histogram section). for this reason the specified temperature range of the ds1921h and ds1921z is considered to begin at code 04h and end at code fbh, which corresponds to histogram bins 1 to 62. with t[7..0] representing the decimal equivalent of a temperature reading, the temperature value is calculat ed as ? (c) = t[7?0] / 8 + 14.500 (ds1921h) ? (c) = t[7?0] / 8 - 5.500 (ds1921z) this equation is valid for converting temperature readings stored in the datalog memory as well as for data read from the forced temperature conversion readout register (a ddress 211h). to specify the high or low temperature alarm thresholds, this equation needs to be resolved to t[7?0] = 8 * ? (c) - 116 (ds1921h) t[7?0] = 8 * ? (c) + 44 (ds1921z) a value of 23c, for example, thus translates into 68 decimal or 44h for the ds1921h, and 228 decimal or e4h for the ds1921z. this corresponds to the binary patterns 0100 0100 and 1110 0100 respectively, which could be written to a temperature alarm register (address 020bh and 020ch, respectively). temperature alarm register map addr b7 b6 b5 b4 b3 b2 b1 b0 020bh temperature low alarm threshold 020ch temperature high alarm threshold
ds1921h/z 9 of 45 sample rate the content of the sample rate register (address 020dh) determines how many minutes the temperature conversions are apart from ea ch other during a mission. the sample rate may be any value from 1 to 255, coded as an unsigned 8 - bit binary number. if the memory has been cleared (status register bit memclr = 1) and a mission is enabled (status register bit em = 0), writing a non - zero v alue to the sample rate register will start a mission. for a full description of the correct sequence of s teps to start a temperature - logging mission s ee sections missioning or missioning example . sample rate register map addr b7 b6 b5 b4 b3 b2 b1 b0 02 0dh sample rate control register the ds1921h/z is set up for its operation by writing appropriate data to its special function registers that are located in the register page. several functions that are controlled by a single bit only are combined into a single byte called control register (address 20eh). this register can be read and written. if the device is programmed for a mission, writing to the control register will end the mission and change the register contents. control register bitmap addr b7 b6 b5 b4 b3 b2 b1 b0 020eh eosc emclr 0 em ro tls ths tas the functional assignments of the individual bits are explained in the table below. bit 5 has no function. it always reads 0 and cannot be written to 1. control register details bit description bit(s) definition eosc: enable oscillator b7 this bit controls the crystal oscillator of the rtc. when set to logic 0, the oscillator will start operation. when written to logic 1, the oscillator will stop and the device is in a low - power data retention mode. this bit must be 0 for normal operation. the rtc must have advanced at least 1 second before a mission start will be accepted. emclr: memory clear enable b6 this bit needs to be set to logic 1 to enable the clear memory function, which is invoked as a memory function command. the time - stamp, histogram memory as well as the mission time stamp, mission samples counter, mission start delay and sample rate will be cleared only if the clear memory command is issued with the next access to the device . the emclr bit will return to 0 as the next memory function command is executed. em: enable mission b4 this bit controls whether the ds1921h/z will begin a mission as soon as the sample rate is written. to enable the device for a mission, this bit must be 0. ro: rollover enable/disable b3 this bit controls whether the temperature logging memory is overwritten with new data or whether data logging is stopped once the memory is filled with data during a mission. setting this bit to a 1 enables the rollover and data logging continues at the beginning overwriting previously collected data. clearing this bit to 0 disables the rollover and no further temperature values will be stored in the temperature logging memory once it is filled with data. this will not stop t he mission. the device will continue measuring temperatures and updating the histogram and alarm time stamps and durations.
ds1921h/z 10 of 45 bit description bit(s) definition tls: temperature low alarm search b2 if this bit is 1, the device will respond to a conditional search command if during a mission the temperature has reached or is lower than the low temperature threshold stored at address 020bh. ths: temperature high alarm search b1 if this bit is 1, the device will respond to a conditional search command if during a mission the temperature has rea ched or is higher than the high temperature threshold stored at address 020ch. tas: timer alarm search b0 if this bit is 1, the device will respond to a conditional search command if during a mission a timer alarm has occurred. since a timer alarm cannot be disabled, the taf flag usually reads 1 during a mission. therefore it may be advisable to set the tas bit to a 0, in most cases. mission start delay counter the content of the mission start delay counter determines how many minutes the device will wai t before starting the logging process. the mission start delay value is stored as unsigned 16 - bit integer number at addresses 212h (low byte) and 213h (high byte). the maximum delay is 65535 minutes, equivalent to 45 days, 12 hours, and 15 minutes. for a typical mission, the mission start delay is 0. if a mission is too long for a single ds1921h/z to store all temperature readings at the selected sample rate, one can use several devices, staggering the mission start delay to record the full period. in thi s case, the ro bit in the control register (address 020eh) must be set to 0 to prevent overwriting of the recorded temperature log after the datalog memory is full. see mission start and logging process description and flow chart for details. status regi ster the status register holds device status information and alarm flags. the register is located at address 214h. writing to this register will not necessarily end a mission. status register bitmap addr b7 b6 b5 b4 b3 b2 b1 b0 0214h tcb memclr mip sip 0 tlf thf taf the functional assignments of the individual bits are explained in the table below. the bits mip, tlf, thf and taf can only be written to 0. all other bits are read - only. bit 3 has no function. status register details bit description bit( s) definition tcb: temperature core busy b7 if this bit reads 0 the ds1921h/z is currently performing a temperature conversion, either self - initiated because of a mission being in progress or initiated by a command when a mission is not in progress. the tcb bit goes low just before a conversion starts and returns to high just after the result is latched into the readout register at address 0211h. memclr: memory cleared b6 if this bit reads 1, the memory pages 17 and higher (alarm time stamps/durations , temperature histogram, excluding datalog memory), as well as the mission time stamp, mission samples counter, mission start delay and sample rate have been cleared to 0 from executing a clear memory function command. the memclr bit will return to 0 as so on as writing a non - 0 value to the sample rate register starts a new mission, provided that the em bit is also 0. the memory has to be cleared in order for a mission to start.
ds1921h/z 11 of 45 bit description bit( s) definition mip: mission in progress b5 if this bit reads 1 the ds1921h/z has been set up for a mission and this mission is still in progress. a mission is started if the em bit of the control register (address 20eh) is 0 and a non - zero value is written to the sample rate register, address 20dh. the mip bit returns from logic 1 to logic 0 when a mission is ended. a mission will end with the first write attempt (copy scratchpad command) to any register in the address range of 200h to 213h. alternatively, a mission can be ended by directly writing to the status register and setting the mip bit to 0. the mip bit cannot be set to 1 by writing to the status register. sip: sample in progress b4 if this bit reads 1 the ds1921h/z is currently performing a temperature conversion as part of a mission in progress. the mission samples occur on the seconds rollover from 59 to 00. the sip bit will change from 0 to 1 approximately 250ms before the actual temperature conversion begins allowing the circuitry of the chip to wake - up. a temperature conversion including a wake - up phase takes maximum 875ms. during th is time read accesses to the memory pages 17 and higher are permissible but may reveal invalid data. tlf: temperature low flag b2 logic 1 in the temperature low flag bit indicates that a temperature measurement during a mission revealed a temperature equa l to or lower than the value in the temperature low threshold register. the temperature low flag can be cleared at any time by writing this bit to 0. this flag must be cleared before starting a new mission. thf: temperature high flag b1 logic 1 in the tem perature high flag bit indicates that a temperature measurement during a mission revealed a temperature equal to or higher than the value in the temperature high threshold register. the temperature high flag can be cleared at any time by writing this bit to 0. this flag must be cleared before starting a new mission. taf: timer alarm flag b0 if this bit reads 1, a rtc alarm has occurred (see section timekeeping for details). the timer alarm flag can be cleared at any time by writing this bit to logic 0. si nce the timer alarm cannot be disabled, the taf flag usually reads 1 during a mission. this flag should be cleared before starting a new mission. mission time stamp the mission time stamp indicates the time and date of the first temperature conversion o f a mission. subsequent temperature conversions will take place as many minutes apart from each other as specified by the value in the sample rate register. mission samples occur on minute boundaries. mission time stamp register bitmap addr b7 b6 b5 b4 b 3 b2 b1 b0 0215h 0 10 minutes single minutes 0216h 0 12/24 20h. am/pm 10h. single hours 0217h 0 0 10 date single date 0218h 0 0 0 10m. single months 0219h 10 years single years mission samples coun ter the mission samples counter indicates how many t emperature measurements have taken place during the current mission in progress (if mip = 1) or during the latest mission (if mip = 0). the value is stored as an unsigned 24 - bit integer number. this counter is reset through the clear memory command.
ds1921h/z 12 of 45 miss ion samples counter register map addr b7 b6 b5 b4 b3 b2 b1 b0 021ah low byte 021bh center byte 021ch high byte device samples count er the device samples counter indicates how many temperature measurements have taken place since the device was assemble d at the factory. the value is stored as an unsigned 24 - bit integer number. the maximum number that can be represented in this format is 16777215, which is higher than the expected lifetime of the ds1921h/z i button. this counter cannot be reset under softw are control. device samples counter register map addr b7 b6 b5 b4 b3 b2 b1 b0 021dh low byte 021eh center byte 021fh high byte temperature logging and histogram once setup for a mission, the ds1921h/z logs the temperature measurements simultaneous ly byte after byte in the datalog memory as well as in histogram form in the histogram memory. the datalog memory is able to store 2048 temperature values measured at equidistant time points. the first temperature value of a mission is written to address l ocation 1000h of the datalog memory, the second value to address location 1001h and so on. knowing the starting time point (mission time stamp), the interval between temperature measurements, the mission samples counter, and the rollover setting, one can r econstruct the time and date of each measurement stored in the datalog. there are two alternatives to the way the ds1921h/z will behave after the 2048 bytes of datalog memory is filled with data. with rollover disabled (ro = 0), the device will fill the d atalog memory with the first 2048 mission samples. additional mission samples are not logged in the datalog, but the histogram, and temperature alarm memory continue to update. with rollover enabled (ro = 1), the datalog will wrap around, and overwrite p revious data starting at 1000h for the every 2049 th mission sample. in this mode the device stores the last 2048 mission samples. for the temperature histogram, the ds1921h/z provides 64 bins that begin at memory address 0800h. each bin consists of a 16 - bit, non - rolling - over binary counter that is incremented each time a temperature value acquired during a mission falls into the range of the bin. the least significant byte of each bin is stored at the lower address. bin 0 begins at memory address 0800h, b in 1 at 0802h, and so on up to 087eh for bin 63, as shown in figure 7. the number of the bin to be updated after a temperature conversion is determined by cutting off the two least significant bits of the binary temperature value. out of range values are r ange locked and counted as 00h or ffh.
ds1921h/z 13 of 45 histogram bin and te mperature cross - reference figure 7 temperature reading ds1921h temp. equiv. in c ds1921z temp. equiv. in c histogram bin number histogram bin address 00h 14.500 - 5.500 0 800h to 801h 01h 14.6 25 - 5.375 0 800h to 801h 02h 14.750 - 5.250 0 800h to 801h 03h 14.875 - 5.125 0 800h to 801h 04h 15.000 - 5.000 1 802h to 803h 05h 15.125 - 4.875 1 802h to 803h 06h 15.250 - 4.750 1 802h to 803h 07h 15.375 - 4.625 1 802h to 803h 08h 15.500 - 4.500 2 804h t o 805h f7h 45.375 25.375 61 87ah to 87bh f8h 45.500 25.500 62 87ch to 87dh f9h 45.625 25.625 62 87ch to 87dh fah 45.750 25.750 62 87ch to 87dh fbh 45.875 25.875 62 87ch to 87dh fch 46.000 26.000 63 87eh to 87fh fdh 46.125 26.125 63 87eh to 87fh f eh 46.250 26.250 63 87eh to 87fh ffh 46.375 26.375 63 87eh to 87fh since each data bin is 2 bytes it can increment up to 65535 times. additional measurements for a bin that has already reached its maximum value will not be counted; the bin counter will remain at its maximum value. with the fastest sample rate of one sample every minute, a 2 - byte bin is sufficient for up to 45 days if all temperature readings fall into the same bin. temperature alarm lo gging for some applications it may be essential to n ot only record temperature over time and the temperature histogram, but also record when exactly the temperature has exceeded a predefined tolerance band and for how long the temperature stayed outside the desirable range. the ds1921h/z can log high and lo w durations. the tolerance band is specified by means of the temperature alarm threshold registers, addresses 20bh and 20ch in the register page. one can set a high and a low temperature threshold. see section temperature conversion for the data format the temperature has to be written in. as long as the temperature values stay within the tolerance band (i.e., are higher than the low threshold and lower than the high threshold), the ds1921h/z will not record any temperature alarm. if the temperature during a mission reaches or exceeds either threshold, the ds1921h/z will generate an alarm and set either the temperature high flag (thf) or the temperature low flag (tlf) in the status register (address 214h). this way, if the search conditions (address 20eh) ar e set accordingly, the master can quickly identify devices with temperature alarms by means of the conditional search function (see rom function commands ). the device also generates a time stamp of when the alarm occurred and begins recording the duration of the alarming temperature. time stamps and durations where the temperature leaves the tolerance band are stored in the address range 0220h to 027fh, as shown in figure 8. this allocation allows recording 24 individual alarm events
ds1921h/z 14 of 45 and periods (12 perio ds for too hot and 12 for too cold). the date and time of each of these periods can be determined from the mission time stamp and the time distance between each temperature reading. alarm time stamps an d durations address map figure 8 address description alarm event 0220h mission samples counter low byte 0221h mission samples counter center byte low alarm 1 0222h mission samples counter high byte 0223h alarm duration counter 0224h to 0227h alarm time stamp and duration low alarm 2 0228h to 024fh a larm time stamp and durations low alarms 3 to 12 0250h mission samples counter low byte 0251h mission samples counter center byte high alarm 1 0252h mission samples counter high byte 0253h alarm duration counter 0254h to 0257h alarm time stamp and duration high alarm 2 0258h to 027fh alarm time stamp and durations high alarms 3 to 12 the alarm time stamp is a copy of the mission samples counter when the alarm first occurred. the least significant byte is stored at the lower address. one address h igher than the time stamp the ds1921h/z maintains a 1 - byte duration counter that stores the number of samples the temperature was found to be beyond the threshold. if this counter has reached its limit after 255 consecutive temperature readings and the tem perature has not yet returned to within the tolerance band, the device will issue another time stamp at the next higher alarm location and open another counter to record the duration. if the temperature returns to normal before the counter has reached its limit, the duration counter of the particular time stamp will not increment any further. should the temperature again cross this threshold, it will be recorded at the next available alarm location. this algorithm is implemented for the low as well as for t he high temperature threshold. missioning the typical task of the ds1921h/z is recording the temperature of a temperature - sensitive object. before the device can perform this function, it needs to be configured. this procedure is called missioning. fi rst of all, ds1921h/z needs to have its rtc set to valid time and date. this reference time may be utc (also called gmt, greenwich mean time) or any other time standard that was chosen for the application. the clock must be running (eosc = 0) for at least one second. setting a rtc alarm is optional. the memory assigned to storing alarm time stamps and durations, temperature histogram, as well as the mission time stamp, mission samples counter, mission start delay, and sample rate must be cleared using the m emory clear command. in case there were temperature alarms in the previous mission, the tlf and thf flags need to be cleared manually. to enable the device for a mission, the em flag must be set to 0. these are general settings that have to be made regardl ess of the type of object to be monitored and the duration of the mission. next, the low temperature and high temperature thresholds to specify the temperature tolerance band must be defined. how to convert a temperature value into the binary code to be w ritten to the threshold registers is described under temperature conversion earlier in this document.
ds1921h/z 15 of 45 the state of the search condition bits in the control register does not affect the mission. if multiple devices are connected to form a 1 - wire net, the s etting of the search condition will enable devices to participate in the conditional search if certain events such as timer or temperature alarm have occurred. details on the search conditions are found in the section rom function commands later in this do cument and in the control register description. the setting of the ro bit (rollover enable) and sample rate depends on the duration of the mission and the monitoring requirements. if the most recent temperature history is important, the rollover should be enabled (ro = 1). otherwise, one should estimate the duration of the mission in minutes and divide the number by 2048 to calculate the value of the sample rate (number of minutes between temperature conversions). if the estimated duration of a mission is 10 days (= 14400 minutes) for example, then the 2048- byte capacity of the datalog memory would be sufficient to store a new value every 7 minutes. if the datalog memory of the ds1921h/z is not large enough to store all temperature readings, one can use sev eral devices and set the mission start delay to values that make the second device start recording as soon as the memory of the first device is full, and so on. the ro - bit needs to be set to 0 to disable rollover that would otherwise overwrite the recorded temperature log. after the ro bit and the mission start delay are set, the sample rate register is the last element of data that is written. the sample rate may be any value from 1 to 255, coded as an unsigned 8 - bit binary number. as soon as the sample rate is written, the ds1921h/z will set the mip flag and clear the memclr flag. after as many minutes as specified by the mission start delay are over, the device will wait for the next minute boundary, then wake up, copy the current time and date to the m ission time stamp register, and make the first temperature conversion of the mission. this increments both the mission samples counter and device samples counter. all subsequent temperature measurements are taken on minute boundaries specified by the value in the sample rate register. one may read the memory of the ds1921h/z to watch the mission as it progresses. care should be taken to avoid memory access conflicts. see section memory access conflicts for details. memory/control function commands the mem ory/control function flow chart (figure 10) describes the protocols necessary for accessing the memory and the special function registers of the ds1921h/z. an example on how to use these and other functions to set up the ds1921h/z for a mission is included at the end of this document, preceding the electrical characteristics section. the communication between master and ds1921h/z takes place either at regular speed (default, od = 0) or at overdrive speed (od = 1). if not explicitly set into the overdrive mo de, the ds1921h/z assumes regular speed. internal memory access during a mission has priority over external access through the 1 - wire interface. this can affect the read memory commands described below. see section memory access conflicts for details. add ress registers and transfer status because of the serial data transfer, the ds1921h/z employs three address registers, called ta1, ta2, and e/s (figure 9). registers ta1 and ta2 must be loaded with the target address to which the data will be written or fr om which data will be sent to the master upon a read command. register e/s acts like a byte counter and transfer status register. it is used to verify data integrity with write commands. therefore, the master only has read access to this register. the lowe r 5 bits of the e/s register indicate the address of the last byte that has been written to the scratchpad. this address is called ending offset. bit 5 of the e/s register, called pf or ?partial byte flag,? is set if the number of data bits sent by the mas ter is not an integer multiple of 8. bit 6 is always a 0. note that the lowest 5 bits of the target address also determine the address within the scratchpad, where intermediate storage of data will begin. this address is called
ds1921h/z 16 of 45 byte offset. if the target a ddress for a write command is 13ch, for example, then the scratchpad will store incoming data beginning at the byte offset 1ch and will be full after only 4 bytes. the corresponding ending offset in this example is 1fh. for best economy of speed and effici ency, the target address for writing should point to the beginning of a new page, (i.e., the byte offset will be 0). thus, the full 32 - byte capacity of the scratchpad is available, resulting also in the ending offset of 1fh. however, it is possible to writ e 1 or several contiguous bytes somewhere within a page. the ending offset together with the partial and overflow flag is mainly a means to support the master checking the data integrity after a write command. the highest valued bit of the e/s register, ca lled aa or authorization accepted, indicates that a valid copy command for the scratchpad has been received and executed. writing data to the scratchpad clears this flag. address registers figure 9 bit # 7 6 5 4 3 2 1 0 target address (ta1) t7 t6 t5 t4 t 3 t2 t1 t0 target address (ta2) t15 t14 t13 t12 t11 t10 t9 t8 ending address with data status (e/s) (read only) aa 0 pf e4 e3 e2 e1 e0 writing with verification to write data to the ds1921h/z, the scratchpad has to be used as inter mediate storage. first, the master issues the write scratchpad command to specify the desired target address, followed by the data to be written to the scratchpad. in the next step, the master sends the read scratchpad command to read the scratchpad and to verify data integrity. as preamble to the scratchpad data, the ds1921h/z sends the requested target address ta1 and ta2 and the contents of the e/s register. if the pf flag is set, data did not arrive correctly in the scratchpad. the master does not need to continue reading; it can start a new trial to write data to the scratchpad. similarly, a set aa flag indicates that the write command was not recognized by the device. if everything went correctly, both flags are cleared and the ending offset indicates the address of the last byte written to the scratchpad. now the master can continue verifying every data bit. after the master has verified the data, it has to send the copy scratchpad command. this command must be followed exactly by the data of the three address registers ta1, ta2 and e/s as the master has read them verifying the scratchpad. as soon as the ds1921h/z has received these bytes, it will copy the data to the requested location beginning at the target address. write scratchpad command [0fh] af ter issuing the write scratchpad command, the master must first provide the 2 - byte target address, followed by the data to be written to the scratchpad. the data will be written to the scratchpad starting at the byte offset (t4:t0). the ending offset (e4:e 0) will be the byte offset at which the master stops writ - ing data. only full data bytes are accepted. if the last data byte is incomplete, its content will be ignored and the partial byte flag (pf) will be set. when executing the write scratchpad command , the crc generator inside the ds1921h/z (see figure 16) calculates a crc of the entire data stream, starting at the command code and ending at the last data
ds1921h/z 17 of 45 byte sent by the master. this crc is generated using the crc16 polynomial by first clearing the cr c generator and then shifting in the command code (0fh) of the write scratchpad command, the target addresses ta1 and ta2 as supplied by the master and all the data bytes. the master may end the write scratchpad command at any time. however, if the ending offset is 11111b, the master may send 16 read time slots and will receive an inverted crc16 generated by the ds1921h/z. the range 200h to 213h of the register page is protected during a mission . see figure 6, register page map , for the access type of the individual registers between and during missions. read scratchpad command [aah] this command is used to verify scratchpad data and target address. after issuing the read scratchpad command, the master begins reading. the first 2 bytes will be the target a ddress. the next byte will be the ending offset/data status byte (e/s) followed by the scratchpad data beginning at the byte offset (t4:t0), as shown in figure 9. regardless of the actual ending offset, the master may read data until the end of the scratch pad after which it will receive an inverted crc16 of the command code, target addresses ta1 and ta2, the e/s byte, and the scratchpad data starting at the target address. after the crc is read, the bus master will read logical 1s from the ds1921h/z until a reset pulse is issued. copy scratchpad [55h] this command is used to copy data from the scratchpad to the writable memory sections. applying copy scratchpad to the sample rate register can start a mission provided that several preconditions are met. see mission start and logging process description and the flow chart in figure 11 for details. after issuing the copy scratchpad command, the master must provide a 3 - byte authorization pattern, which can be ob tained by reading the scratchpad for verification. this pattern must exactly match the data contained in the three address registers (ta1, ta2, e/s, in that order). if the pattern matches, the aa (authorization accepted) flag will be set and the copy will begin. a pattern of alternating 1s and 0s will be transmitted after the data has been copied until the master issues a reset pulse. while the copy is in progress any at tempt to reset the part will be ignored. copy typically takes 2s per byte. the data to be copied is determined by the three address reg isters. the scratchpad data from the begin - ning offset through the ending offset will be copied, starting at the target address. anywhere from 1 to 32 bytes may be copied to memory with this command. the aa flag will remain at logic 1 until it is cleared b y the next write scratchpad command. note that copy scratchpad when applied to the address range 200h to 213h during a mission will end the mission. read memory [f0h] the read memory command may be used to read the entire memory. after issuing the command , the master must provide the 2 - byte target address. after the 2 bytes, the master reads data beginning from the target address and may continue until the end of memory, at which point logic 0s will be read. it is im - portant to realize that the target addr ess registers will contain the address provided. the ending offset/data status byte is unaffected. the hardware of the ds1921h/z provides a means to accomplish error - free writing to the memory sec - tion. to safeguard data in the 1 - wire environment when rea ding and to simultaneously speed up data transfers, it is recommended to packetize data into data packets of the size of one memory page each. such a packet would typically store a 16 - bit crc with each page of data to ensure rapid, error - free data transfer s that eliminate having to read a page multiple times to verify whether if the received data is cor - rect. (see application note 114 for the recom mended file structure.)
ds1921h/z 18 of 45 memory/control function flow chart figure 10 - 1 master tx memory or control fkt. command 0fh write scratchpad ds1921 sets scratch- pad offset = (t4 :t0) and clears (pf, aa) master tx data byte to scratchpad offset ds1921 sets (e4 :e0) = scratchpad offset master tx reset? scratch- pad offset = 11111b? master rx crc16 of command, address, data ds1921 incre- ments scratch- pad offset master rx "1"s master tx reset? master tx reset? partial byte written? pf = 1 aah read scratchpad master rx ending offset with data status (e/s) master tx reset? scratch- pad offset = 11111b? master rx crc16 of command, address data, e/s byte, and data starting at the target address ds1921 incre- ments scratch- pad offset master rx "1"s master tx reset? ds1921 sets scratch- pad offset = (t4 :t0) master rx data byte from scratchpad offset from rom functions flow chart (figure 12) to rom functions flow chart (figure 12) n y n y n y n y n y n y y n y n y n y ds1921 sets emclr = 0 master tx ta1 (t7 :t0), ta2 (t15:t8) ds1921 sets emclr = 0 master rx ta1 (t7 :t0), ta2 (t15:t8) to figure 10 2 nd part n from figure 10 2 nd part
ds1921h/z 19 of 45 memory/co ntrol function flow chart figure 10 - 2 to figure 10 3 rd part 55h copy scratchpad master tx e/s byte authorization code match? ds1921 copies scratch pad data to memory copying finished master tx reset? master tx reset? aa = 1 f0h read memory master tx reset? end of memory? master rx "0"s ds1921 sets memory address = (t15 :t0) master rx data byte from memory address master tx ta1 (t7 :t0), ta2 (t15:t8) master rx "1"s ds1921 tx "0" ds1921 tx "1" master tx reset? master rx "1"s master tx ta1 (t7 :t0), ta2 (t15:t8) ds1921 incre- ments address counter n y n y n y n y n y n y n y n y n y ds1921 sets emclr = 0 ds1921 sets emclr = 0 from figure 10 1 st part to figure 10 1 st part from figure 10 3 rd part
ds1921h/z 20 of 45 memory/control function flow chart figure 10 - 3 a5h read mem . w/crc ds1921 sets memory address = (t15 :t0) master rx data byte from memory address end of memory? y master tx reset? crc ok? ds1921 incre- ments address counter end of page? master rx crc16 of command, address, data (1 st pass); crc16 of data (subsequent passes) master tx reset n y n y y n decision made by ds1921 decision made by master master tx ta1 (t7 :t0), ta2 (t15:t8) ds1921 sets emclr = 0 from figure 10 2 nd part to figure 10 2 nd part to figure 10 4 th part from figure 10 4 th part n n y master rx 00 byte
ds1921h/z 21 of 45 memory/control function flow chart figure 10 - 4 3ch clear memory emclr = 1? ds1921 clears mission time stamp, mission samples counter, mission start delay, sample rate register ds1921 sets emclr = 0 44h convert temp. master tx reset? ds1921 starts temperature conversion process master tx reset? mission in progress? n y n y n y n y n y n y ds1921 sets memclr = 1 ds1921 clears histogram memory ds1921 clears alarm time stamps and durations ds1921 sets emclr = 0 master tx reset? n y from figure 10 3 rd part to figure 10 3 rd part ds1921 sets tcb\ = 0 ds1921 performs a temp. conversion ds1921 copies result to address 0211h ds1921 sets tcb\ = 1 temperature con- version process end of process
ds1921h/z 22 of 45 read memory with crc [a5h] the read m emory with crc command is used to read memory data that cannot be packetized, such as the register page and the data recorded by the device during a mission. the command works essentially the same way as the simple read memory, except for the 16 - bit crc th at the ds1921h/z generates and transmits following the last data byte of a memory page. after having sent the command code of the read memory with crc command, the bus master sends a 2 - byte address (ta1 = t7:t0, ta2 = t15:t8) that indicates a starting by te location. with the subsequent read data time slots the master receives data from the ds1921h/z starting at the initial address and continuing until the end of a 32 - byte page is reached. at that point the bus master will send 16 additional read data time slots and receive an inverted 16 - bit crc. with subsequent read data time slots the master will receive data starting at the beginning of the next page followed again by the inverted crc for that page. this sequence will continue until the bus master reset s the device. with the initial pass through the read memory with crc flow, the 16 - bit crc value is the result of shifting the command byte into the cleared crc generator followed by the two address bytes and the contents of the data memory. subsequent pas ses through the read memory with crc flow will generate a 16 - bit crc that is the result of clearing the crc generator and then shifting in the contents of the data memory page. after the 16 - bit crc of the last page is read, the bus master will receive logi cal 0s from the ds1921h/z and inverted crc16s at page boundaries until a reset pulse is issued. the read memory with crc command sequence can be ended at any point by issuing a reset pulse. clear memory [3ch] the clear memory command is used to clear the sample rate, mission start delay, mission time stamp, and mission samples counter in the register page and the temperature alarm memory and the temperature histogram memory. these memory areas must be cleared for the device to be set up for another mission . the clear memory command does not clear the datalog memory or the temperature and timer alarm flags in the status register. the rtc oscillator must be on and have counted at least 1 second, before issuing the command. for the clear memory command to func tion the emclr bit in control register must be set to 1, and the clear memory command must be issued with the very next access to the device?s memory func tions. issuing any other memory function command will reset the emclr bit. the clear memory process t akes 500s. when the command is completed the memclr bit in the status register will read 1 and the emclr bit will be 0. convert temperature [44h] if a mission is not in progress (mip = 0) the convert temperature command can be issued to measure the curre nt temperature of the device. the result of the temperature conversion will be found at memory address 211h in the register page. this command takes maximum 360ms to complete. during this time the device remains fully accessible for memory/control and rom function commands.
ds1921h/z 23 of 45 mission start and logging process the ds1921h/z does not use a special command to start a mission. instead, a mission is started by writing a non - zero value to the sample rate register using the copy scratchpad command. as shown in fi gure 11, a new mission can only be started if the previous mission has been stopped (mip = 0), the memory is cleared (memclr = 1) and the mission is enabled (em = 0). if the new sample rate is different from zero, the value will be copied to the sample rat e register. at the same time the mip bit will be set and the memclr bit will be cleared to indicate that the device is on a mission. next the mission start delay counter will start decrementing every minute until it is down to 0. now the ds1921h/z will wai t until the next minute boundary and start the logging process, which as its first action copies the applicable rtc registers to the mission time stamp. mission start and logging process figure 11 the mission start process is invoked when the copy scratchpad function is used to set a new sample rate by writing to the sample rate register at address 020dh. one minute after the start delay countdown is over, the logging process begins and the mission start process ends. logging process ds1921 sets datalog address = 1000h ds1921 measures temperature ds1921 updates his- togram, device sam- ples counter, mission samples counter and alarm, if applicable ro = 1? ds1921 stores temp. at datalog address ds1921 increments lower 11 bits of datalog address ds1921 stores temp. at datalog address ds1921 increments datalog address datalog address = 1800h? ds1921 waits one sample period mip = 1? end of process y y n n n y n ds1921 copies new sample rate from scratchpad to sample rate register n y n y n ds1921 sets mip = 1; memclr = 0 mip = 1? memclr = 1 em = 0? new sample rate = 0? start delay counter = 0? mission start process ds1921 decrements start delay counter ds1921 waits until next minute boundary ds1921 copies rtc to mission time stamp end of process ds1921 sets mip = 0 y n y y n mip = 1? y ds1921 logging process ds1921 waits until next minute boundary
ds1921h/z 24 of 45 stop mission the ds1921h/z d oes not have a special command to stop a mission. a mission can be stopped at any time by writing to any address in the range of 0200h to 0213h or by writing the mip bit of the status register at address 0214h to 0. either approach involves the use of the copy scratchpad command. there is no need for the mission start delay to expire before a mission can be stopped (see figure 11). memory access conflicts while a mission is in progress, periodically a temperature sample is taken and stored in the datalog, his - togram, and potentially alarm memory. this ? internal activity ? has priority over a read memory or read memory with crc access to these pages. if a conflict occurs, the data read may be invalid, even if the crc value matches the data. to ensure that th e data read is valid, it is recommended to first read the sip bit of the status register. if the sip bit is set, delay reading the datalog, histogram, and alarm memory until sip is 0. the interference is more likely to be seen with a high sample rate (1 sa mple every minute). since all mission samples occur on the seconds rollover (59 to 00), memory conflicts can be avoided by first reading the rtc seconds counter. for example, if it takes two seconds to read the datalog, then avoid starting the memory read if the seconds counter is 58, 59 or 00. alternatively, one can read the affected memory section twice and accept the data only if both readings match. in any case, when writing driver software, it is important to know about the possibility of interference and to take measures to work around it. 1 - wire bus system the 1 - wire bus is a system that has a single bus master and one or more slaves. in all instances the ds1921h/z is a slave device. the bus master is typically a microcontroller. the discussion of t his bus system is broken down into three topics: hardware configuration, transaction sequence, and 1 - wire signaling (signal types and timing). the 1 - wire protocol defines bus transactions in terms of the bus state during specific time slots that are initia ted on the falling edge of sync pulses from the bus master. for a more detailed protocol description, refer to chapter 4 of the book of ds19xx i button standards . hardware configuration the 1 - wire bus has only a single line by definition; it is important t hat each device on the bus be able to drive it at the appropriate time. to facilitate this, each device attached to the 1 - wire bus must have open drain or tri - state outputs. the 1 - wire port of the ds1921h/z is open - drain with an internal circuit equivalent to that shown in figure 12. a multidrop bus consists of a 1 - wire bus with multiple slaves attached. at standard speed the 1 - wire bus has a maximum data rate of 16.3kbits per second. the speed can be boosted to 142kbits per second by activating the overd rive mode. the ds1921h/z is not guaranteed to be fully compliant to the i button standard. its maximum data rate in standard speed mode is 15.4kbits per second and 125kbits per second in overdrive. the value of the pull - up resistor primarily depends on the network size and load conditions. the ds1921h/z requires a pull - up resistor of maximum 2.2k ? at any speed. the idle state for the 1 - wire bus is high. if for any reason a transaction needs to be suspended, the bus must be left in the idle state if the tran saction is to resume. if this does not occur and the bus is left low for more than 16s (overdrive speed) or more than 120s (standard speed), one or more devices on the bus may be reset. note that the ds1921h/z does not quite meet the full 16s maximum lo w time of the normal 1 - wire bus overdrive timing. with the ds1921h/z the bus must be left low for no longer than 15s at overdrive speed to ensure that no ds1921h/z on the 1 - wire bus performs a reset. the ds1921h/z will communicate properly when used in co njunction with a ds2480b or ds2490 1 - wire driver and adapters that are based on these driver chips.
ds1921h/z 25 of 45 hardware configuration figure 12 open drain port pin rx = receive tx = transmit 100 ? mosfet v pup rx tx tx rx data 5a typ . bus master ds1921 1-wire port r pup transaction sequence the protocol for accessing the ds1921h/z via the 1 - wire port is as follow s: ? initialization ? rom function command ? memory/control function command ? transaction/data initialization all transactions on the 1 - wire bus begin with an initialization sequence. the initialization sequence consists of a reset pulse transmitted by the bus master followed by presence pulse(s) transmitted by the slave(s).the presence pulse lets the bus master know that the ds1921h/z is on the bus and is ready to operate. for more details, see the 1- wire signaling section. rom function commands once the bus master has detected a presence, it can issue one of the seven rom function commands. all rom function commands are eight bits long. a list of these commands follows (refer to flowchart in figure 13). read rom [33h] this command allows the bus master to r ead the ds1921h/z?s 8 - bit family code, temperature range code, plus unique 36 - bit serial number and 8 - bit crc. this command can only be used if there is a single slave on the bus. if more than one slave is present on the bus, a data collision will occur wh en all slaves try to transmit at the same time (open drain will produce a wired - and result). the resultant family code and temperature range code plus 36 - bit serial number will result in a mismatch of the crc. match rom [55h] the match rom command, follow ed by a 64 - bit rom sequence, allows the bus master to address a specific ds1921h/z on a multidrop bus. only the ds1921h/z that exactly matches the 64 - bit rom sequence will respond to the following memory function command. all other slaves will wait for a r eset pulse. this command can be used with a single or multiple devices on the bus.
ds1921h/z 26 of 45 search rom [f0h] when a system is initially brought up, the bus master might not know the number of devices on the 1 - wire bus or their registration numbers. by taking adva ntage of the wired - and property of the bus, the master can use a process of elimination to identify the registration numbers of all slave devices. for each bit of the registration number, starting with the least significant bit, the bus master issues a tri plet of time slots. on the first slot, each slave device participating in the search outputs the true value of its registration number bit. on the second slot, each slave device participating in the search outputs the complemented value of its registration number bit. on the third slot, the master writes the true value of the bit to be selected. all slave devices that do not match the bit written by the master stop participating in the search. if both of the read bits are zero, the master knows that slave d evices exist with both states of the bit. by choosing which state to write, the bus master branches in the romcode tree. after one complete pass, the bus master knows the registration number of a single device. additional passes identify the registration n umbers of the remaining devices. refer to app note 187: 1- wire search algorithm for a detailed discussion, including an example. conditional search [ech] the conditional search rom command operates similarly to the search rom command except that only devi ces fulfilling the specified condition will participate in the search. the condition is specified by the bit functions tas, ths, and tls in the control register, address 20eh. the conditional search rom provides an efficient means for the bus master to det ermine devices on a multidrop system that have to signal an important event, such as a temperature leaving the tolerance band. after each pass of the conditional search that successfully determined the 64 - bit rom code for a specific device on the multidrop bus, that particular device can be individually accessed as if a match rom had been issued, since all other devices will have dropped out of the search process and will be waiting for a reset pulse. for the conditional search, one can select any combinat ion of the three search conditions by writing the associated bit to a logical 1. these bits correspond directly to the flags in the status register of the device. if the flag in the status register reads 1 and the corresponding bit in the control register is a logical 1 too, the device will respond to the conditional search command. if more than one bit search condition is selected, the first event occurring will make the device respond to the conditional search command. skip rom [cch] this command can sav e time in a single - drop bus system by allowing the bus master to access the memory functions without providing the 64 - bit rom code. if more than one slave is present on the bus and, for example, a read command is issued following the skip rom command, data collision will occur on the bus as multiple slaves transmit simultaneously (open drain pull - downs will produce a wired - and result).
ds1921h/z 27 of 45 rom functions flow chart figure 13 - 1 to memory functions flow chart (figure 10) ds1921 tx bit 63 master tx bit 63 ds1921 tx bit 63 ds1921 tx bit 1 master tx bit 1 ds1921 tx bit 1 ds1921 tx bit 0 master tx bit 0 ds1921 tx bit 0 bit 63 match? bit 1 match? bit 0 match? f0h search rom? n y n y y n y n ds1921 tx bit 63 master tx bit 63 ds1921 tx bit 63 ds1921 tx bit 1 master tx bit 1 ds1921 tx bit 1 ds1921 tx bit 0 master tx bit 0 ds1921 tx bit 0 bit 63 match? bit 1 match? bit 0 match? cond. met? ech cond. search rom? n y n y n y y n y n master tx bit 63 master tx bit 1 master tx bit 0 bit 63 match? bit 1 match? bit 0 match? 55h match rom? n y n y y n y n ds1921 tx crc byte ds1921 tx temp. range code and serial number 6 bytes ds1921 tx family code 1 byte 33h read rom? n y from memory functions flow chart (figure 10) master tx rom function command ds1921 tx presence pulse master tx reset pulse short reset pulse? n y od = 0 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 1) 2) 1) to be transmitted or received at overdrive speed if od = 1. 2) the presence pulse will be short if od = 1. from figure 13 2 nd part from figure 13 2 nd part to figure 13 2 nd part to figure 13 2 nd part
ds1921h/z 28 of 45 rom functions flow chart figure 13 - 2 3ch overdrive skip rom? n y master tx bit 63 master tx bit 1 master tx bit 0 bit 63 match? bit 1 match? bit 0 match? 69h overdrive match? n y n y y n y n cch skip rom? n y 3) 3) 3) 3) always to be transmitted at overdrive speed. od = 1 master tx reset pulse? y n od = 1 to figure 13 1 st part to figure 13 1 st part from figure 13 1 st part from figure 13 1 st part
ds1921h/z 29 of 45 overdrive skip rom [3ch] on a single - drop bus this command can save time by allowing the bus master to access the memory/control func tions without providing the 64 - bit rom code. unlike the normal skip rom command, the overdrive skip rom sets the ds1921h/z in the overdrive mode (od = 1). all communication following this command has to occur at overdrive speed until a reset pulse of minimum 480s duration resets all de vices on the bus to standard speed (od = 0). when issued on a multidrop bus thi s command will set all overdrive - supporting devices into overdrive mode. to subsequently address a specific overdrive - supporting device, a reset pulse at overdrive speed has to be issued followed by a match rom or search rom command sequence. this will spe ed up the time for the search process. if more than one slave supporting overdrive is present on the bus and the overdrive skip rom command is followed by a read command, data collision will occur on the bus as multiple slaves transmit simultaneously (open - drain pull - downs will produce a wired - and result). overdrive match rom [69h] the overdrive match rom command followed by a 64 - bit rom sequence transmitted at overdrive speed allows the bus master to address a specific ds1921h/z on a multidrop bus and to simultaneously set it in overdrive mode. only the ds1921h/z that exactly matches the 64 - bit rom sequence will respond to the subsequent memory/control function command. slaves already in overdrive mode from a previous overdrive skip or successful overdrive match command will remain in overdrive mode. all overdrive - capable slaves will return to standard speed at the next reset pulse of minimum 480s duration. the overdrive match rom command can be used with a single or multiple devices on the bus. 1 - wire s ignaling the ds1921h/z requires strict protocols to ensure data integrity. the protocol consists of four types of signaling on one line: reset sequence with reset pulse and presence pulse, write 0, write 1, and read data. except for the presence pulse the bus master initiates all these signals. the ds1921h/z can communicate at two different speeds: standard speed and overdrive speed. if not explicitly set into the overdrive mode, the ds1921h/z will communicate at standard speed. while in overdrive mode the fast timing applies to all waveforms. to get from idle to active, the voltage on the 1 - wire line needs to fall from v pup below the threshold v tl . to get from active to idle, the voltage needs to rise from v ilmax past the threshold v th . the time it takes for the voltage to make this rise is seen in figure 14 as ? ? and its duration depends on the pull - up resistor (r pup ) used and capacitance of the 1 - wire network attached. the voltage v ilmax is relevant for the ds1921h/z when determining a logical level, bu t not for triggering any events. the initialization sequence required to begin any communication with the ds1921h/z is shown in figure 14. a reset pulse followed by a presence pulse indicates the ds1921h/z is ready to receive data, given the correct rom and memory function command. if the bus master uses slew - rate control on the falling edge, it must pull down the line for t rstl + t f to compensate for the edge. a t rstl duration of 480s or longer will exit the overdrive mode returning the device to standa rd speed. if the ds1921h/z is in overdrive mode and t rstl is no longer than 80s, the device will remain in overdrive mode.
ds1921h/z 30 of 45 initialization procedure (reset and presence pulses) figure 14 after the bus master has released the l ine it goes into receive mode (rx). now, the 1 - wire bus is pulled to v pup via the pull - up resistor or, in case of a ds2480b driver, by active circuitry. when the threshold v th is crossed, the ds1921h/z waits for t pdh and then transmits a presence pulse by pulling the line low for t pdl . to detect a presence pulse, the master must test the logical state of the 1 - wire line at t msp . the t rsth window must be at least the sum of t pdhmax , t pdlmax , and t recmin . immediately after t rsth is expired, the ds1921h/z is ready for data communication. in a mixed population network, t rsth should be extended to minimum 480s at standard speed and 48s at overdrive speed to accommodate other 1 - wire devices. read/write time slots data communication with the ds1921h/z takes p lace in time slots that carry a single bit each. write time slots transport data from bus master to slave. read time - slots transfer data from slave to master. the definitions of the write and read time slots are illustrated in figure 15. all communicatio n begins with the master pulling the data line low. as the voltage on the 1 - wire line falls below the threshold v tl , the ds1921h/z starts its internal timing generator that determines when the data line will be sampled during a write time slot and how long data will be valid during a read time slot. master to slave for a write - one time slot, the voltage on the data line must have crossed the v th threshold after the write - one low time t w1lmax is expired. for a write - zero time slot, the voltage on the data l ine must stay below the v th threshold until the write - zero low time t w0lmin is expired. the voltage on the data line should not exceed v ilmax during the entire t w0l or t w1l window. after the v th threshold has been crossed, the ds1921h/z needs a recovery ti me t rec before it is ready for the next time slot.
ds1921h/z 31 of 45 read/write timing diagram figure 15 write - one time slot resistor master v pup v ihmaster v th v tl v ilmax 0v t f t slot t w1l write - zero time slot resistor master t rec v pup v ihmaster v th v tl v ilmax 0v t f t slot t w0l read - data time slot slave to master a read - data time slot begins like a write - one time slot. the voltage on the data line must remain below v tl until the read low time t rl is expired. during the t rl window, when responding with a 0, the ds1921h/z will start pulling the data line low; its interna l timing generator determines when this pull - down ends and the voltage starts rising again. when responding with a 1, the ds1921h/z will not hold the data line low at all, and the voltage starts rising as soon as t rl is over. the sum of t rl + (rise t im e) on one side and the internal timing generator of the ds1921h/z on the other side define the master sampling window (t msrmin to t msrmax ) in which the master must perform a read from the data line. for most reliable communication, t rl should be as short a s permissible and the master should read close to but no later than t msrmax . after reading from the data line, the master must wait until t slot is expired. this guarantees sufficient recovery time t rec for the ds1921h/z to get ready for the next time slot.
ds1921h/z 32 of 45 crc generation with the ds1921h/z there are two different types of cyclic redundancy checks (crcs). one crc is an 8- bit type and is stored in the most significant byte of the 64 - bit rom. the bus master can compute a crc value from the first 56 bits of th e 64 - bit rom and compare it to the value stored within the ds1921h/z to determine if the rom data has been received error - free. the equivalent polynomial function of this crc is x 8 + x 5 + x 4 + 1. this 8 - bit crc is received in the true (noninverted) form. i t is computed at the factory and lasered into the rom. the other crc is a 16 - bit type, generated according to the standardized crc16 - polynomial function x 16 + x 15 + x 2 + 1. this crc is used for error detection when reading data memory using the read memor y with crc command and for fast verification of a data transfer when writing to or reading from the scratchpad. in contrast to the 8 - bit crc, the 16 - bit crc is always communi cated in the inverted form. a crc- generator inside the ds1921h/z chip (figure 16) will calculate a new 16 - bit crc as shown in the command flow chart of figure 10. the bus master compares the crc value read from the device to the one it calculates from the data and decides whether to continue with an opera tion or to reread the portion of the data with the crc error. with the initial pass through the read mem ory with crc flow chart, the 16- bit crc value is the result of shifting the command byte into the cleared crc generator, followed by the 2 address bytes and the data bytes. subseque nt passes through the read memory with crc flow chart will generate a 16 - bit crc that is the result of clearing the crc generator and then shifting in the data bytes . with the write scratchpad command the crc is generated by first clearing the crc generat or and then shifting in the command code, the target addresses ta1 and ta2 and all the data bytes. the ds1921h/z will transmit this crc only if the data bytes written to the scratchpad include scratchpad ending offset 11111b. the data may start at any loca tion within the scratchpad. with the read scratchpad command the crc is generated by first clearing the crc generator and then shifting in the command code, the target addresses (ta1 and ta2), the e/s byte, and the scratchpad data starting at the target a ddress. the ds1921h/z will transmit this crc only if the reading continues through the end of the scratchpad, regardless of the actual ending offset. for more information on generating crc values see application note 27 or the book of ds19xx i button stand ards.
ds1921h/z 33 of 45 crc- 16 hardware description and polynomial figure 16 polynomial = x 16 + x 15 + x 2 + 1 x 0 x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 x 11 x 12 x 13 x 14 x 15 x 16 1 st stage 2 nd stage 3 rd stage 4 th stage 6 th stage 5 th stage 7 th stage 8 th stage 9 th stage 10 th stage 11 th stage 12 th stage 13 th stage 14 th stage 15 th stage 16 th stage input data crc output command - specific 1 - wire communication protocol ? legend symbol description rst 1 - wire reset pulse generated by master pd 1 - wire presence pulse generated by slave select command and data to satisfy the rom function protocol (skip rom, search rom, etc.) ws command "write scratchpad" rs command "read scratchpad" cps command "copy scratchpad" rm command "read memory" rmc command "read memory with crc" cm command "clear memory" ct command "convert temperature" ta target address ta1, ta2 ta - e/s target address ta1, ta2 with e/s byte transfer of as many data bytes as are needed to reach the scratchpad offset 1fh transfer of as many dat a bytes as are needed to reach the end of a memory page transfer of as many data bytes as are needed to reach the end of the datalog memory <00 to eop> transfer of as many 00h bytes as are needed to reach a memory page boundary <32 bytes> transfer of 32 bytes transfer of an undetermined amount of data crc16\ transfer of an inverted crc16 ff loop indefinite loop where the master reads ffh bytes aa loop indefinite loop where the master reads aah bytes 00 loop indefinite loop whe re the master reads 00h bytes
ds1921h/z 34 of 45 command - specific 1 - wire communication protocol ? color codes master to slave slave to master write scratchpad, reaching the end of the scratchpad rst pd select ws ta crc16\ ff loop write scratchpad, no t reaching the end of the scratchpad rst pd select ws ta rst pd read scratchpad rst pd select rs ta - e/s crc16\ ff loop copy scratchpad (success) rst pd select cps ta - e/s aa loop copy scratchpad (invalid ta - e/s) rst pd selec t cps ta - e/s ff loop read memory (success) rst pd select rm ta 00 loop read memory (invalid address) rst pd select rm ta 00 loop reading reserved pages 20 through 63 or 68 through 127 or pages 192 and higher (beyond datalog memory) wi ll result in 00h bytes. read memory with crc (success) rst pd select rmc ta crc16\ <32 bytes> crc16\ the "32 bytes" are either valid page data or 00h bytes when reading reserved pages 20 through 63 or 68 through 127 or pages 192 and higher (beyond datalog memory). loop
ds1921h/z 35 of 45 read memory with crc (invalid address) rst pd select rmc ta <00 to eop> crc16\ <32 bytes> crc16\ the "32 bytes" are all 00h. clear memory rst pd select cm ff loop to verify success, read the status register at add ress 0214h. if memclr is 1, the command was executed successfully. convert temperature rst pd select ct ff loop to read the result and to verify success, read the addresses 0211h (result) and the device samples coun - ter at address 021dh to 021fh. if the count has incremented, the command was executed successfully. loop
ds1921h/z 36 of 45 mission example: prepare and start a new mission assumption: the previous mission has come to an end. to end an ongoing mission write the mip bit in the status register to 0. the prepa ration of a ds1921h/z for a mission including the start of the mission requires up to four steps: step 1: set the rtc (if it needs to be adjusted) step 2: clear the data of the previous mission step 3: set the search condition and mission start delay, clea r alarm flags step 4: set the temperature alarms and write the sample rate to start the mission step 1 let the actual time be 15:30:00 hours on monday, the 1 st of april in 2002. this results in the following data to be written to the rtc registers: addre ss: 200h 201h 202h 203h 204h 205h 206h data: 00h 30h 15h 01h 81h 04h 02h with only a single ds1921h/z connected to the bus master, the communication of step 1 is as follows: master mode data (lsb first) comments tx (reset) reset pulse (480s to 960s) rx (presence) presence pulse tx cch issue skip rom command tx 0fh issue write scratchpad command tx 00h ta1, beginning offset = 00h tx 02h ta2, address = 02 00h tx <7 data bytes> write 7 bytes of data to scratchpad tx (re set) reset pulse rx (presence) presence pulse tx cch issue skip rom command tx aah issue read scratchpad command rx 00h read ta1, beginning offset = 00h rx 02h read ta2, address = 02 00h rx 06h read e/s, ending offset = 6h, flags = 0h rx <7 data byte s> read scratchpad data and verify tx (reset) reset pulse rx (presence) presence pulse tx cch issue skip rom command tx 55h issue copy scratchpad command tx 00h ta1 ta2 (authorization code) e/s tx 02h tx 06h tx (reset) reset pulse rx (presence) presence pulse
ds1921h/z 37 of 45 step 2 set the emclr bit to 1, enable the rtc and then execute the clear memory command. the rtc oscillator must be stable before the clear memory command is issued. wait 500 s after issuing the clear memory command before proceeding to step 3. this results in the following data to be written to the status register: address: 20eh data: 40h with only a single ds1921h/z connected to the bus master, the communication of step 2 is as follows: master mode data (lsb first) comments tx (re set) reset pulse (480s to 960s) rx (presence) presence pulse tx cch issue skip rom command tx 0fh issue write scratchpad command tx 0eh ta1, beginning offset = 0eh tx 02h ta2, address = 02 0eh tx 40h write status byte to scratchpad tx (reset) reset pulse rx (presence) presence pulse tx cch issue skip rom command tx aah issue read scratchpad command rx 0eh read ta1, beginning offset = 0eh rx 02h read ta2, address = 02 0eh rx 0eh read e/s, ending offset = 0eh, flags = 0h rx 40h read scratchpad d ata and verify tx (reset) reset pulse rx (presence) presence pulse tx cch issue skip rom command tx 55h issue copy scratchpad command tx 0eh ta1 ta2 (authorization code) e/s tx 02h tx 0eh tx (reset) reset pulse rx (presence) presence pulse tx cch issue skip rom command tx 3ch issue clear memory command tx (reset) reset pulse rx (presence) presence pulse
ds1921h/z 38 of 45 step 3 in this example, the rollover is disabled and the search condition is set for a high temperature only. the mission is to start with a delay of 90 (005ah) minutes and the alarm flags tlf, thf, and taf are cleared. this results in the following data to be written to the special function registers: address: 20eh 20fh 210h 211h 212h 213h 214h data: 02h 00h* 00h* 00h* 5ah 00h 00h * wr iting through address locations 20fh to 211h is faster than accessing the mission start delay register in a separate cycle. the write attempt has no effect on the contents of these registers. with only a single ds1921h/z connected to the bus master, the c ommunication of step 3 is as follows: master mode data (lsb first) comments tx (reset) reset pulse (480 s to 960s) rx (presence) presence pulse tx cch issue skip rom command tx 0fh issue write scratchpad command tx 0eh ta1, beginning offset = 0eh tx 02h ta2, address = 02 0eh tx <7 data bytes> write 7 bytes of data to scratchpad tx (reset) reset pulse rx (presence) presence pulse tx cch issue skip rom command tx aah issue read scratchpad command rx 0eh read ta1, beginning offset = 0eh rx 02h read ta2, address = 02 0eh rx 14h read e/s, ending offset = 14h, flags = 0h rx <7 data bytes> read scratch pad data and verify tx (reset) reset pulse rx (presence) presence pulse tx cch issue skip rom command tx 55h issue copy scratchpad command tx 0eh ta1 ta2 (authorization code) e/s tx 02h tx 13h tx (reset) reset pulse rx (presence) presence pulse
ds1921h/z 39 of 45 step 4 in this example, the temperature alarms are set to 0 c for the low temperature threshold and 10 c for the high temperature threshold, assuming it is a ds1921z device. the sample rate is once every 10 minutes, allowing the mission to last up to 14 days. this results in the following data to be written to the special function registers: address: 20bh 20ch 20dh data: 2ch 7ch 0ah with only a single ds1921h/z connected to the bus master, the communication of step 4 is as follows: master mode dat a (lsb first) comments tx (reset) reset pulse (480 s to 960s) rx (presence) presence pulse tx cch issue skip rom command tx 0fh issue write scratchpad command tx 0bh ta1, beginning offset = 0bh tx 02h ta2, address = 02 0bh tx <3 data bytes> write 3 bytes of data to scratchpad tx (reset) reset pulse rx (presence) presence pulse tx cch issue skip rom command tx aah issue read scratchpad command rx 0bh read ta1, beginning offset = 0bh rx 02h read ta2, address = 02 0bh rx 0dh read e/s, ending offset = 0dh, flags = 0h rx <3 data bytes> read scratch pad data and verify tx (reset) reset pulse rx (presence) presence pulse tx cch issue skip rom command tx 55h issue copy scratchpad command tx 0bh ta1 ta2 (authorization code) e/s tx 02h tx 0dh tx (reset) reset pulse rx (presence) presence pulse if step 4 was successful, the mip bit in the status register will be 1, the memclr bit will be 0, and the mission start delay will be counting down.
ds1921h/z 40 of 45 physical specification size see mechanical drawing weight 3.3g absolute maximum ratings* io vol tage to gnd - 0.5v, +6v io sink current 20ma temperature range ds1921h, ds1921z - 40c to +85c** storage temperature range - 40c to +50c** * this is a stress rating only and functional operation of the device at these or any other conditions above thos e indicated in the operation sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods of time may affect reliability. ** storage or operation above 50 c significantly reduces battery life . elect rical characteristics (v pup = 2.8v to 5.25v, t a = - 40c to +85c) parameter symbol conditions min typ max units notes io pin general data 1 - wire pull - up resistance r pup 2.2 k ? 1, 2 input capacitance c io 100 800 pf 3, 16 input load current i l io pin at v pup 10 a 4 high - to - low v tl v pup > 4.5v 1.14 2.70 v 5, 6, 7, switching threshold 0.71 2.70 16 input low voltage v il 0.30 v 1, 5, 8 low - to - high v th v pup > 4.5v 1.00 2.70 v 5, 6, 9, switching threshold 0.66 2.70 16 output low voltage at 4ma v ol 0.4 v 5, 10 recovery time t rec standard speed, r pup = 2.2k ? 5 s 1, 16 overdrive speed, r pup = 2.2k ? 2 overdrive speed, directly prior to reset pulse; r pup = 2.2k ? 5 timeslot duration t slot standard speed 65 s 1, 15 overdrive speed 8
ds1921h/z 41 of 45 parameter symbol conditions min typ max units notes io pin, 1 - wire reset, presence detect cycle reset low time t rstl standard speed, v pup > 4.5v 480 640 s 1, 15 standard speed 540 640 overdrive speed 48 80 presence detect high t pdh standard speed 15 60 s 15 time overdrive speed 1.1 6 presence detect low t pdl standard speed 60 270 s 15 time overdrive speed 7.5 24 presence detect t msp standard speed 60 75 s 1, 16 sample time overdrive speed 6 8.6 io pin, 1 - wire write w rite - 0 low time t w0l standard speed 60 120 s 1, 15 overdrive speed 6 15 write - 1 low time t w1l standard speed 5 15 - s 1, 11 overdrive speed 1 2 - io pin, 1 - wire read read low time t rl standard speed 5 15 - s 1, 12 overdri ve speed 1 2 - read sample time t msr standard speed t rl + 15 s 1, 12 overdrive speed t rl + 2 real - time clock frequency deviation ? f - 5c to +46c - 48 +46 ppm temperature converter tempcore operating t tc ds1921h 15 46 c range ds1921z - 5 +26 conversion time t conv 75 360 ms thermal response time constant resp 130 s 13 conversion error ? ? - 1 +1 c 17, 18 number of conversions n conv (see graphs) ? 14, 16 notes 1) system requirement. 2) maximum allowab le pull - up resistance is a function of the number of 1 - wire devices in the system and 1 - wire recovery times. the specified value here applies to systems with only one device and with the minimum 1 - wire recovery times. for more heavily loaded systems, an ac tive pull - up such as that found in the ds2480b may be required. 3) capacitance on io could be 800pf when power is first applied. if a 2.2k ? resistor is used to pull up the data line, 2.5s after v pup has been applied the parasite capacitor will not affec t normal communication. 4) input load is to ground. 5) all voltages are referenced to ground. 6) v tl , v th are a function of the internal supply voltage. 7) voltage below which, during a falling edge on io, a logic 0 is detected. 8) the voltage on io needs to be less or equal to v ilmax whenever the master drives the line low.
ds1921h/z 42 of 45 9) voltage above which, during a rising edge on io, a logic 1 is detected. 10) the i - v characteristic is linear for voltages less than 1v. 11) represents the time required for the pull - up circuitry to pull the voltage on io up from v il to v th . 12) represents the time required for the pull - up circuitry to pull the voltage on io up from v il to the input high threshold of the bus master. 13) this number was derived from a test conducted by cemagref in antony, france, in july of 2000. http://www.cemagref.fr/english/index.htm test report no. e42 14) the number of temperature conversions (= samples) possible with the b uilt - in energy source depends on the operating and storage temperature of the device. when not in use for a mission, the rtc oscillator should be turned off and device should be stored at a temperature not exceeding +25c. under this condition the shelf li fe time is 10 years minimum. 15) highlighted numbers are not in compliance with the published i button standards. see comparison table below. 16) these values are derived from simulation across process, voltage, and temperature and are not production te sted. 17) total accuracy is ? ? plus 1/16c quantization due to the 1/8c digital resolution of the device. 18) warning: not for use as the sole method of measuring or tracking temperature and/or humidity in products and articles that could affect the hea lth or safety of persons, plants, animals, or other living organisms, including but not limited to foods, beverages, pharmaceuticals, medications, blood and blood products, organs, flammable, and combustible products. user shall assure that redundant (or o ther primary) methods of testing and determining the handling methods, quality, and fitness of the articles and products should be implemented. temperature and/or humidity tracking with this product, where the health or safety of the aforementioned persons or things could be adversely affected, is only recommended when supplemental or redundant information sources are used. data logger products are 100% tested and calibrated at time of manufacture by dallas semiconductor/maxim to ensure that they meet all d ata sheet parameters, including temperature accuracy. user shall be responsible for proper use and storage of this product. as with any sensor - based product, user shall also be responsible for occasionally rechecking the temperature accuracy of the product to ensure it is still operating properly. standard values ds1921h/z values parameter standard speed overdrive speed standard speed overdrive speed name min max min max min max min max t slot (incl. t rec ) 61s (undef.) 7s (undef.) 65s 1) (undef.) 8 s 1) (undef.) t rstl 480s (undef.) 48s 80s 540s 640s 48s 80s t pdh 15s 60s 2s 6s 15s 60s 1.1s 6s t pdl 60s 240s 8s 24s 60s 270s 7.5s 24s t w0l 60s 120s 6s 16s 60s 120s 6s 15s 1) intentional change, longer recovery time betw een time slots.
ds1921h/z 43 of 45 rtc frequency deviation vs temperature -200 -175 -150 -125 -100 -75 -50 -25 0 25 50 -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 temperature (c) frequency deviation (ppm) lower limit upper limit minimum product lifetime vs temperature at different sample rates 0.00 1.00 2.00 3.00 4.00 5.00 6.00 7.00 8.00 9.00 10.00 11.00 -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 temperature (c) min. product lifetime (years) every minute every 3 min. every 10 min. no samples osc. off
ds1921h/z 44 of 45 minimum product lifetime vs sample rate at different temperatures 1.00 2.00 3.00 4.00 5.00 6.00 7.00 8.00 9.00 10.00 11.00 12.00 1 10 100 1000 minutes between samples minimum product lifetime (years) -5c 15 c 26c 37c 46c
ds1921h/z 45 of 45 maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim product. no cir cuit patent licenses are implied. maxim re serves the right to change the circuitry and specifications without notice at any time. maxim integrated products, 120 san gabriel drive, sunnyvale, ca 94086 408 - 737 - 7600 ? 2009 maxim integrated products maxim is a registered trademark of maxim integrate d products, inc . revision history revision date description pages change d 120407 added bullet ?water resistant or waterproof if placed inside ds9107 i button capsule (exceeds water resistant 3 atm requirements)?. 1 add text to application section: note that the initial sealing level of ds1921h/z achieves ip56. aging and use conditions can degrade the integrity of the seal over time, so for applications with significant exposure to liquids, sprays, or other similar environments, it is recom mended to place the thermochron in the ds9107 i button capsule. the ds9107 provides a watertight enclosure that has been rated to ip68 (see www.maxim - ic.com/an4126 ). 2 8/09 added the # sign to the part numbers in the ordering inf ormation table , indicating rohs - compliant packages . 1 removed the ul#913 bullet from the common i button features section. 1


▲Up To Search▲   

 
Price & Availability of DS1921Z-F5

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X